package com.johnny.xia.game.mulity;

import java.util.ArrayList;
import java.util.List;

public class MultipleConfig{

    private List<Probability> list = new ArrayList<>();

    public List<Probability> getList(){
        return list;
    }

    public void setList(List<Probability> list){
        this.list = list;
    }

    @Override
    public String toString(){
        
        StringBuffer buff = new StringBuffer();
        for(Probability p : list){
            buff.append("card:"+p.getCard()+",lineNum:"+p.getLineNum()+"|");
        }
        
        return "[" +buff.toString() + "]";
    }

}
